package com.example.hzq.food.bean;

import android.content.Intent;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hzq on 2017/6/24.
 */

public class BuyBean implements Serializable {
    private int foodnum;
    private double foodsum;
    private List<FoodBean> food;
    private List<Integer> count;
    public BuyBean(int totalNum, double price, List<FoodBean> goods, List<Integer> count) {
        this.foodnum = totalNum;
        this.foodsum = price;
        this.food = goods;
        this.count = count;
    }
    public BuyBean(BuyBean buyBean) {
        this.foodnum = buyBean.getFoodnum();
        this.foodsum = buyBean.getFoodsum();
        this.food = buyBean.getFood();
        this.count = buyBean.getCount();
    }

    public List<Integer> getCount() {
        return count;
    }

    public void setCount(List<Integer> count) {
        this.count = count;
    }

    public int getFoodnum() {
        return foodnum;
    }

    public void setFoodnum(int foodnum) {
        this.foodnum = foodnum;
    }

    public double getFoodsum() {
        return foodsum;
    }

    public void setFoodsum(double foodsum) {
        this.foodsum = foodsum;
    }

    public List<FoodBean> getFood() {
        return food;
    }

    public void setFood(List<FoodBean> food) {
        this.food = food;
    }
}
